//
//  DimensUtil.m
//

#import "DimensUtils.h"
#import "AppDelegate.h"

@implementation DimensUtils

+(CGFloat)getScaleX:(CGFloat)x{
    AppDelegate *myDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
    return x * myDelegate.autoSizeScaleX;
}

+(CGFloat)getScaleY:(CGFloat)y{
    AppDelegate *myDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
    return y * myDelegate.autoSizeScaleY;
}

@end
